MessageType

enum MessageType : ProtocolMessageEnum

Three stages of this request.
Protobuf enum meshtastic.KeyVerificationAdmin.MessageType

Entries

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Properties

Link copied to clipboard

This is the cancel path, can be taken at any point
DO_NOT_VERIFY = 3;
Link copied to clipboard

Once the user has compared the verification message, this message notifies the node.
DO_VERIFY = 2;
Link copied to clipboard

This is the first stage, where a client initiates
INITIATE_VERIFICATION = 0;
Link copied to clipboard

After the nonce has been returned over the mesh, the client prompts for the security number
And uses this message to provide it to the node.
PROVIDE_SECURITY_NUMBER = 1;

Functions

Link copied to clipboard
Link copied to clipboard
open fun getDescriptor(): Descriptors.EnumDescriptor
Link copied to clipboard
fun getDescriptorForType(): Descriptors.EnumDescriptor
Link copied to clipboard
fun getNumber(): Int
Link copied to clipboard
fun getValueDescriptor(): Descriptors.EnumValueDescriptor
Link copied to clipboard
Link copied to clipboard
open fun valueOf(desc: Descriptors.EnumValueDescriptor): AdminProtos.KeyVerificationAdmin.MessageType

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants.